<?php
error_reporting(E_ALL);
/*$mysql_host = "ensembldb.ensembl.org";
$mysql_username = "anonymous";
$mysql_password = "";
$mysql_database = "";
$h=new MySQLi($mysql_host,$mysql_username,$mysql_password,$mysql_database);
$res=$h->query('SELECT 1 AS `test`');
var_dump($res,$res->num_rows);

die();*/
//header("Content-type: text/plain",true);
ob_start();
$starttime=microtime(true);
error_reporting(E_ALL);
require_once("ffapi/ffengine1.inc.php");
$a=new ffengine1();
$a->connect('127.0.0.1','root','','filefiction');
var_dump($a->getFileChunkIDs(1));die();
echo $a->testapi();
unset($a);//
echo "time used:",(microtime(true)-$starttime);

echo ob_get_clean();
throw new Exception("lol");